/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package repositoriodistribuido;

import java.util.Date;

/**
 *
 * @author ylopez
 */
public interface dmonCommands extends java.rmi.Remote {

    public void upload() throws java.rmi.RemoteException;

    public void download() throws java.rmi.RemoteException;

    public void disconnectDmon(String drepName) throws java.rmi.RemoteException;

    public void remove(String user) throws java.rmi.RemoteException;

    public int nrep() throws java.rmi.RemoteException;

    public void connectDmon(String drepName, Date time) throws java.rmi.RemoteException;

    public void addUser(String userName, Date time) throws java.rmi.RemoteException;

    public String[] tuser() throws java.rmi.RemoteException;

    public String[] ndrep() throws java.rmi.RemoteException;

    public String[] nops() throws java.rmi.RemoteException;

}
